using PandaWebAPI.Models.ef;

namespace PandaWebAPI.Services
{
    public interface ILoginSessionService : IBaseService<LoginSession>
    {
        Task<LoginSession?> GetByTokenAsync(string token);
        Task<List<LoginSession>> GetActiveSessionsByUserIdAsync(Guid userId);
        Task<bool> DeactivateSessionAsync(Guid sessionId);
        Task<bool> DeactivateAllUserSessionsAsync(Guid userId);
        Task<bool> IsSessionValidAsync(string token);
    }
} 